<?php
namespace app\admin\controller;
use think\Controller;
use think\Request;
use think\Db;

class Hello extends controller{
  public function try(){
  	$data=Db::table('oa_admin_post')
              ->field('id,name')
              ->select();
        return $data;
  }
}